Repository navigation
[server] Complete the BulkLoad transaction lifecycle - #5361
Merged
platinumhamburg merged 5 commits intoNov 26, 2026
Merged
platinumhamburg merged 5 commits into
platinumhamburg merged 5 commits into
Conversation
platinumhamburg
force-pushed
the
feature-bulkload-transaction-lifecycle
branch
9 times, most recently
from
November 25, 2026 09:24
c8b399c to
f67ad38
Compare
platinumhamburg
marked this pull request as ready for review
November 25, 2026 09:41
platinumhamburg
force-pushed
the
feature-bulkload-transaction-lifecycle
branch
from
November 25, 2026 09:54
f67ad38 to
3c29c08
Compare
Add Coordinator operations to begin and replay transactions, query progress, and commit or abort imports. Retain terminal results for replay and reclaim expired transaction metadata. Read progress on the I/O executor and record withdrawn targets during transaction finalization.
platinumhamburg
force-pushed
the
feature-bulkload-transaction-lifecycle
branch
from
November 25, 2026 10:14
3c29c08 to
d1877d9
Compare
luoyuxia
reviewed
Nov 26, 2026
Generated-by: OpenAI Codex AI-Contributed/Feature: 0/1 AI-Contributed/UT: 0/0 (cherry picked from commit 265bbd0fe11027d39d0c4b5574f8b1c1f29c0199)
Co-Authored-By: Codex <noreply@openai.com> AI-Contributed/Feature: 6/6 AI-Contributed/UT: 0/0
…sult handling Co-Authored-By: Codex <noreply@openai.com> AI-Contributed/Feature: 37/167 AI-Contributed/UT: 20/20
wuchong
approved these changes
Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Closes #5360, a sub-issue of #4224.
#5275 lets a caller allocate and publish a snapshot for one bucket. This change adds the transaction operations around those RPCs so a caller can begin an import, find it again after a lost response, inspect progress and finish or abort it. It carries forward the transaction portion of #5269 on top of the merged bucket implementation.
Brief change log
Tests
The server tests exercise the RPC lifecycle against ZooKeeper, including replay after schema changes, partition replacement, authorization, partial progress followed by abort, and recovery of previously imported data after TabletServer restart.
API and Format
Adds five Coordinator RPCs:
BeginBulkLoad,GetBulkLoadInfo,ListInProgressBulkLoads,CommitBulkLoadandAbortBulkLoad. Physical target ownership is stored alongside the transaction metadata used by the bucket RPCs.Documentation
Documents the target-count limit and terminal-result retention in the configuration reference. The protocol is described in FIP-61.